package com.asm.entity.sys;


import com.asm.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author zhangyufu
 * @description 角色信息类，继承于BaseEntity类
 * 存放角色代码，用于表示不同的角色
 * @date 2019/7/9
 */
@Slf4j
@Data
@Accessors(chain = true)
@Entity
@Table(name = "t_role")
public class Role extends BaseEntity {

    /**
     * 角色信息
     */
    @Column(name = "code", length = 8)
    private String code;

}
